/**
 * Tooltip 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/tooltip/style';

export const tooltipThemeConfig: Partial<ComponentToken> = {
  zIndexPopup: 1070,
};

export const getTooltipTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...tooltipThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as TooltipComponentToken } from 'antd/es/tooltip/style';

